/**
 * Project Name:dsrs-systemservice-domain
 * File Name:UserSecurityVo.java
 * Package Name:com.bwda.dsrs.systemservice.domain.vo.usersecurity;
 * Date:2019年4月28日
 * Copyright (c) 2019, 江苏保旺达软件有限公司 All Rights Reserved.
 */
package com.bwda.dsrs.systemservice.domain.vo.usersecurity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
/**
 * 用户安全策略vo
 *
 * @author yanyuemei
 * @date 2019/4/27
 */
/**
 * 用户-安全策略
 *
 * @author liangjianyong
 * @date 2019/4/8
 */
@Data
@ApiModel(description = "用户安全策略")
public class UserSecurityVo {

	@ApiModelProperty(value = "ID")
	private Integer id;

	@ApiModelProperty(value = "用户编码")
	private String userCode;

	@ApiModelProperty(value = "密码规则ID")
	private Integer passwordRuleId;

	@ApiModelProperty(value = "生效时间")
	private Date effTime;

	@ApiModelProperty(value = "失效时间")
	private Date expTime;

	@ApiModelProperty(value = "解冻时间")
	private Date iceOutTime;

	@ApiModelProperty(value = "上次密码更新时间")
	private Date pwdLastUpdateTime;

	@ApiModelProperty(value = "下次密码更新")
	private Date pwdUpdateTime;

	@ApiModelProperty(value = "连续登陆失败次数")
	private Integer loginFailCount;

	@ApiModelProperty(value = "登录成功次数")
	private Integer loginSuceeCount;

	@ApiModelProperty(value = "是否强制更新密码")
	private Integer isForceUpdatePwd;

	@ApiModelProperty(value = "创建时间")
	private Date createTime;

	@ApiModelProperty(value = "更新时间")
	private Date updateTime;

	@ApiModelProperty(value = "登录IP")
	private String loginIp;

	@ApiModelProperty(value = "登录时间")
	private Date loginTime;

	public Date getEffTime() {
		if (effTime != null){
			return (Date) effTime.clone();
		}

		return null;
	}

	public void setEffTime(Date effTime) {
		if (effTime != null){
			this.effTime = (Date) effTime.clone();
		}
	}

	public Date getExpTime() {
		if (expTime != null){
			return (Date) expTime.clone();
		}

		return null;
	}

	public void setExpTime(Date expTime) {
		if (expTime != null){
			this.expTime = (Date) expTime.clone();
		}
	}

	public Date getIceOutTime() {
		if (iceOutTime != null){
			return (Date) iceOutTime.clone();
		}

		return null;
	}

	public void setIceOutTime(Date iceOutTime) {
		if (iceOutTime != null){
			this.iceOutTime = (Date) iceOutTime.clone();
		}
	}

	public Date getPwdLastUpdateTime() {
		if (pwdLastUpdateTime != null){
			return (Date) pwdLastUpdateTime.clone();
		}

		return null;
	}

	public void setPwdLastUpdateTime(Date pwdLastUpdateTime) {
		if (pwdLastUpdateTime != null){
			this.pwdLastUpdateTime = (Date) pwdLastUpdateTime.clone();
		}
	}

	public Date getPwdUpdateTime() {
		if (pwdUpdateTime != null){
			return (Date) pwdUpdateTime.clone();
		}

		return null;
	}

	public void setPwdUpdateTime(Date pwdUpdateTime) {
		if (pwdUpdateTime != null){
			this.pwdUpdateTime = (Date) pwdUpdateTime.clone();
		}
	}

	public Date getCreateTime() {
		if (createTime != null){
			return (Date) createTime.clone();
		}

		return null;
	}

	public void setCreateTime(Date createTime) {
		if (createTime != null){
			this.createTime = (Date) createTime.clone();
		}
	}

	public Date getUpdateTime() {
		if (updateTime != null){
			return (Date) updateTime.clone();
		}

		return null;
	}

	public void setUpdateTime(Date updateTime) {
		if (updateTime != null){
			this.updateTime = (Date) updateTime.clone();
		}
	}

	public Date getLoginTime() {
		if (loginTime != null){
			return (Date) loginTime.clone();
		}

		return null;
	}

	public void setLoginTime(Date loginTime) {
		if (loginTime != null){
			this.loginTime = (Date) loginTime.clone();
		}
	}
}